package demoMod.nanaki.relics;

import basemod.abstracts.CustomRelic;
import com.badlogic.gdx.graphics.Texture;
import com.megacrit.cardcrawl.core.AbstractCreature;
import demoMod.nanaki.NanakiMod;
import demoMod.nanaki.interfaces.NoteExplodeHook;

public class TheHalo extends CustomRelic implements NoteExplodeHook {
    public static final String ID = NanakiMod.makeID("TheHalo");
    public static final Texture IMG = new Texture(NanakiMod.getResourcePath("relics/TheHalo.png"));
    public static final Texture IMG_OUTLINE = new Texture(NanakiMod.getResourcePath("relics/TheHalo_outLine.png"));

    public TheHalo() {
        super(ID, IMG, IMG_OUTLINE, RelicTier.UNCOMMON, LandingSound.MAGICAL);
    }

    @Override
    public String getUpdatedDescription() {
        return DESCRIPTIONS[0];
    }

    @Override
    public boolean shouldExplode(AbstractCreature target) {
        return true;
    }

    @Override
    public int reduceExplodeAmount(int reduceAmount) {
        return reduceAmount;
    }

    @Override
    public int modifyExplodeDamage(int damageAmount) {
        return (int) (damageAmount * 1.5F);
    }
}
